#ifndef UUNITORBUILDING
#define UUNITORBUILDING
#include "../stdafx.h"
#include <boost/shared_ptr.hpp>


class TUnitOrBuilding
{
protected:
	TUnitOrBuilding(int PosX, int PosY, float PosZ);
public:
	float X, Y, Z; //position
	bool IsSelected;
	TUnitOrBuildingType* Type;
};


class TGUIUnitOrBuilding
{
protected:
	boost::shared_ptr<const TUnitOrBuilding> UnitBuilding;
	TUnitOrBuildingType* Type(){return UnitBuilding->Type;};
public:
	virtual void Draw();
};


#endif
